package ic.doc.co2nudge.shared.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class UserData 
	implements Serializable {
	
	private User user;
	
	private double savingsSum;
	
	private HashMap<Long, Integer> trTypesData;
	
	public UserData() {
		user=null;
		savingsSum=0D;
		trTypesData=new HashMap<Long, Integer>();
	}
	
	public User getUser() {
		return this.user;
	}
	
	public void setUser(User user) {
		this.user=user;
	}
	
	public Double getSavingsSum() {
		return this.savingsSum;
	}
	
	public void setSavingsSum(Double sum) {
		this.savingsSum=sum;
	}
	
	public HashMap<Long, Integer> getTransportTypes() {
		return this.trTypesData;
	}
	
	public void setTransportTypes(HashMap<Long, Integer> trTypes) {
		this.trTypesData=trTypes;
	}
}